package com.wh.model;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;
import java.util.UUID;

/**
 * Created by Administrator on 14-1-27.
 */
public class BaseModel {
	private String id;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

    private Integer status;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    private Integer sort;

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    private Date updateDate=new Date();
    @JSONField(format = "yyyy-MM-dd hh:mm:ss")
    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    private Date createDate=new Date();
    @JSONField(format = "yyyy-MM-dd hh:mm:ss")
    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
